package cmpe451.group7.ourcity.service;

import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;
import java.util.List;

import cmpe451.group7.ourcity.entity.Comment;
import cmpe451.group7.ourcity.entity.User;

public interface UserService {

	public User authenticate(String email, String password)
			throws NoSuchAlgorithmException, InvalidKeySpecException;

	public User authenticate(long userID, String password)
			throws NoSuchAlgorithmException, InvalidKeySpecException;

	public void updateUserInfo(String userInfoText, User user);

	public void updateAboutMe(String aboutMe, User user);

	public User fullyLoadUser(long homeUserID);

	public List<String> getCommentTagsofUser(User homeUser);

	public List<Comment> getCommentsofUser(User homeUser);

	public void updateUser(User user);
}
